The WorkbookProtection object (workbook.security) wasn't being read from or written to xlsx files.
WorkbookProtection
workbook.security