The prosecuting attorney, or county corporation counsel in a county which has employed an attorney in lieu of the prosecuting attorney to represent the county in civil matters, shall give opinions, in cases where this state, a county, or a county officer may be a party or interested, when required by a civil officer in the discharge of the officer's respective official duties relating to an interest of the state or county.
MCL 49.155