No personal liability shall arise against any director, trustee, officer, or agent of any insurer by reason of any payment made by or on behalf of the insurer on account of any taxes, licenses, or fees paid pursuant to any law, even though such law is subsequently held to be invalid.