How do Samsung SSDs store and protect the power-on hours counter?

I’m trying to understand how Samsung SSDs store the power-on hours counter. Is it kept separately from the updatable firmware, and can firmware updates or service commands reset it? Has anyone documented this for a specific Samsung controller or model?