Restoring privacy with zero-knowledge proof