(a) Receivers who are required by law to give bond as such who have given as security on such bonds one or more guaranty companies, surety companies, fidelity insurance companies, or fidelity and deposit companies, as authorized by law, may include as part of their lawful expenses or costs of administration such reasonable sum or sums paid to the company or companies for the suretyship not exceeding 1 percent per annum on the amount of the bond as the court, judge, or other officer by whom they were appointed allows.
(b) Any court, judge, or other officer whose duty it is to pass upon the account of any person or corporation required to execute a bond with surety or sureties, whenever the person or corporation has given any such company or companies as security as provided in subsection (a) of this Code section, shall allow in the settlement of the account a reasonable sum for the expenses and premiums incurred in securing the surety, not exceeding the amounts specified in the subsection.