(a) The county board of election commissioners, as created by this subchapter, may call upon the prosecuting attorney or his or her deputy for legal opinions, advice, or assistance in defending, commencing, or appealing civil actions at law and equity.
(b) The county or prosecuting attorney shall defend any civil lawsuit brought against the county board of election commissioners or its members if they are sued in regard to acts or omissions made during the course of their official duties.