Secure HfO2 based charge trap EEPROM with lifetime and data retention time modeling