get_protected_columns function

Get protected columns from data