def METHOD_NAME(doc: Dict, remove_properties=()):
    """
    Remove the given fields from properties and assets.
    """
    def remove_proj(dict: Dict):
        for key in list(dict.keys()):
            if key in remove_properties:
                del dict[key]
    remove_proj(doc["properties"])
    for name, asset in doc["assets"].items():
        remove_proj(asset)