(b) Records, files, and information subject to Subsection (a) may be open to inspection only:
(1) by judges or court staff;
(2) by a criminal justice agency for a criminal justice purpose, as those terms are defined by Section 411.082, Government Code;
(3) by the Department of Public Safety;
(4) by the attorney representing the state;
(5) by the defendant or the defendant's counsel;
(6) if the offense is a traffic offense, an insurance company or surety company authorized to write motor vehicle liability insurance in this state; or
(7) for the purpose of complying with a requirement under federal law or if federal law requires the disclosure as a condition of receiving federal highway funds.
(c) This article does not apply to records, files, and information described by Subsection (a) that relate to an offense that is sexual in nature, as determined by the holder of the records, files, or information.
Added by Acts 2017, 85th Leg., R.S., Ch. 811 (H.B. 681), Sec. 2, eff. September 1, 2017.