The commissioner or any person designated by the commissioner has the right at any time to enter upon the lands and inspect and examine the structures, works, and mines situated thereon, and also has the right to examine such books, records, and accounts of the lessee as are directly connected with the operation of the mine on the property under lease from the state; but it shall be unlawful for the commissioner or any person so appointed to disclose any information thus obtained to any person other than the commissioner or an employee of the department, except the attorney general and prosecuting attorneys of the state.