All notes, bonds, bills, contracts, covenants, agreements or writings, made or to be made, whereby any person is or shall be bound to the People of the State of Illinois, or to any county or the inhabitants thereof, or to the county commissioners, or the county board, or to the governor, or any other officer or person, in whatever form, for the payment of money, or any debt or duty, or the performance of any matter or thing to or for the use of any county, shall be as valid and effectual, to all intents and purposes, to vest in such county all the rights, interest and actions which would be vested in any individual, if any such contract had been made directly to him. Suits may be commenced, sued and prosecuted thereon in the name of the county, as is provided herein, or in the name of the officer or person to whom they are made, to the use of the county, as fully and effectually, to all intents and purposes, as any person may or can upon like notes, bills, bonds, contracts, agreements or writings made to him.
55 ILCS 5/5-3002