The pledge of assets or revenue of the corporation to the payment of the principal of or interest on an obligation of the corporation is valid and binding from the time the pledge is made, and the assets or revenue are immediately subject to the lien of the pledge without physical delivery or further act. The lien of the pledge is valid and binding against all parties having claims of any kind in tort, contract, or otherwise against the corporation, regardless of whether those parties have notice of the lien of the pledge. This section does not prohibit the corporation from selling assets subject to a pledge, except that the sale may be restricted by the trust agreement or resolution providing for the issuance of the obligations.