Okla. Stat. tit. 22, § 1406
After the filing of an indictment or information by the Attorney General or district attorney and after a hearing with respect to which any person who shall be affected has been given thirty (30) days' notice and opportunity to participate, the district court may, based on the indictment or information and the hearing:
Laws 1988, SB 127, c. 131, § 6, eff. November 1, 1988.