Okla. Stat. tit. 22, § 576
The judge who conducts the preliminary examination shall not try the case except with the consent of all parties.
Laws 1968, SB 677, c. 175, § 2, eff. January 13, 1969.