[Privilege] Add privacy feature and deprecate redundant API (#231)