It shall be the duty of the prosecuting attorney to keep his office open in the charge of a responsible person during the hours polls are open on general, primary and special county-wide election days, and the prosecuting attorney, or his assistant, if any, shall be available for the purpose of advising election officials. It shall be the further duty of the prosecuting attorney, when requested by the attorney general, to perform or to assist the attorney general in performing, in the county in which he is elected, any legal duties required to be performed by the attorney general, and which are not inconsistent with the duties of the prosecuting attorney as the legal representative of such county. It shall also be the duty of the prosecuting attorney, when requested by the attorney general, to perform or to assist the attorney general in performing, any legal duties required to be performed by the attorney general, in any county other than that in which such prosecuting attorney is elected, and for the performance of any such duties in any county other than that in which such prosecuting attorney is elected he shall be paid his actual expenses.
Upon the request of the attorney general the prosecuting attorney shall make a written report of the state and condition of the several causes in which the state is a party, pending in his county, and upon any matters referred to him by the attorney general as provided by law.