(a) The role and responsibility of the county attorney has evolved, through legislative changes and professional and ethical considerations as to the proper role in representing the county, its governing authority and its constitutional officers. (b) The primary function of the county attorney is to provide legal advice to and to represent the county. In doing so, the county attorney's duties include advising and representing the governing authority, sheriff, tax commissioner, clerk of superior court, probate court judge, officials and employees of the county. The county attorney's duties also include advising the governing authority and other county officers and employees on their powers and duties under the law, to prepare ordinances and legal documents, to review proposed contracts, and to represent the county and its officers in legal proceedings. (c) The county wishes to define the role of the county attorney, and by this section clarify the proper role and responsibilities of the county attorney in the representation of governing authority and constitutional officers. (d) The county is committed to ensuring that each and every county official receives proper and adequate legal representation, when appropriate, from the county attorney for actions taken pursuant to his public duties.