(a) The county will undertake to defend all civil, criminal, or quasi-criminal actions brought or maintained against any county commissioner arising out of the performance of the county commissioner's duties or in any way connected therewith, whether based upon negligence, violation of contract rights, or violation of civil, constitutional, or common law or statutory rights, to the extent such defense is not provided pursuant to a policy of insurance issued to the county government. This resolution shall be construed to mean that the county will and is authorized to expend funds to pay for attorney's fees, court costs, deposition costs, witness fees and compensation and all other like costs, expenses and fees in the event or to the extent that such expenses, fees and costs are not otherwise covered by a policy of insurance. (b) The county shall also indemnify and hold the county commissioners harmless against, and the county shall pay for the benefit of the county commissioners, any and all claims or civil judgments rendered against the county commissioners, or any of them, to the extent such claims arise out of the performance of the duties of the county commissioners or are in any way connected therewith. (c) This section is intended to, and shall, provide defense and indemnification to the county commissioner to the fullest extent authorized by law, as the same exists or may hereafter be amended but, in the case of any such amendment, only to the extent that such amendment permits the county to provide broader indemnification and defense to the commissioners than permitted prior thereto. (d) This section shall be deemed a contract right in favor of any commissioner of the county serving while this section remain in effect, and no repeal of this section hereafter shall be effective as to any such commissioner.