As used in this section, "investigative detention data" means government data created, collected, used or maintained by the state correctional facilities, municipal or county jails, lockups, workhouses, work farms and other correctional and detention facilities which: (a) if revealed, would disclose the identity of an informant who provided information about suspected illegal activities, and (b) if revealed, is likely to subject the informant to physical reprisals by others.
Investigative detention data is confidential and shall not be disclosed except:
(a) pursuant to section 13.05 or any other statute;
(b) pursuant to a valid court order; or
(c) to a party named in a civil or criminal proceeding, whether administrative or judicial, to the extent required by the relevant Rules of Civil or Criminal Procedure.