(a) An individual may not publish a photograph of human remains that the individual obtained while acting within the course and scope of the individual's duties as an officer or employee of this state or a political subdivision of this state.
(b) For purposes of Subsection (a), a photograph is considered to have been published if the photograph is:
(1) displayed to an unauthorized person;
(2) released to an unauthorized person by any delivery method, including text message, e-mail, or facsimile;
(3) posted on a social media platform; or
(4) sold to a news publication.