The state and municipalities participating in an authority pledge to and agree with the holders of bonds issued under AS 29.35.825 and with the federal agency, if any, that loans or contributes funds for a project of the authority that the state and the municipalities participating in the authority will not limit or alter the rights and powers vested in the authority by its enabling ordinance or other law so that it is unable to fulfill the terms of a contract made by it with those holders or that federal agency or in any way impair the rights and remedies of those holders or that federal agency until the bonds, together with the interest on them and interest on unpaid installments of interest, and all costs and expenses in connection with an action or proceeding by or on behalf of those holders or that federal agency, are fully met and discharged. An authority may include this pledge and agreement of the state and the municipalities participating in the authority, to the extent that it refers to holders of bonds of the authority, in a contract with those holders, and to the extent that it relates to a federal agency, in a contract with that federal agency.