(c) The prosecuting attorney shall keep his or her office open in the charge of a responsible person during the hours when polls are open during statewide general and primary election days, and the prosecuting attorney, or the prosecuting attorney's assistant, if any, shall be available for the purpose of advising election officials. The prosecuting attorney, when requested by the Attorney General, shall perform or assist the Attorney General in performing, in the county in which the prosecuting attorney 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 the county. The prosecuting attorney, when requested by the Attorney General, shall perform or 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 the prosecuting attorney is elected and for the performance of these duties in any county other than that in which the prosecuting attorney is elected, the prosecuting attorney shall be paid his or her 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 or her county, and upon any matters referred to the prosecuting attorney by the Attorney General as provided by law.