Updated protectionData structure to include headers