Every magistrate, or clerk of any magistrate, who willfully permits any deposition taken on an information or examination of a defendant before such magistrate, and remaining in the custody of such magistrate or clerk to be inspected by any person except a judge of a court having jurisdiction of the offense, the Attorney General, the district attorney and his assistants, and the defendant and his counsel, is guilty of a misdemeanor.
Okla. Stat. tit. 21, § 571