The privacy mask on Hikvision cameras is configured in the following section
The privacy mask on motorized cameras (PTZ) is stored on the coordinates where it has been "painted", so if the camera moves, the mask will remain only in that position of the image
The privacy mask on non-PTZ cameras can also be configured from an NVR, but a PTZ camera will have to be configured directly on the web environment of the camera itself