It shall be the duty of the attorney general, when required, to give his opinion upon all questions of law submitted to him by the legislature, or by either branch thereof, or by the governor, auditor general, treasurer or any other state officer, and also to notify the county treasurer of the proper county, of the neglect or refusal of any prosecuting attorney to make the annual report to the attorney general required of him by law.
MCL 14.32