'Remove entries from metadata properties if they are read protected
:param image_meta: Mapping of metadata about image
:param req: The WSGI/Webob Request object'

def _enforce_read_protected_props(self, image_meta, req):

    if property_utils.is_property_protection_enabled():
        for key in list(image_meta['properties'].keys()):
            if (self.prop_enforcer.check_property_rules(key, 'read', req.context) is False):
                image_meta['properties'].pop(key)
