Notwithstanding any other provision of Federal or State law, a State housing finance authority or nonprofit entity may purchase mortgage-related assets from the Resolution Trust Corporation or from financial institutions with respect to which the Federal Deposit Insurance Corporation is acting as a conservator or receiver (including assets associated with any trust business), and any contract for such purchase shall be effective in accordance with its terms without any further approval, assignment, or consent with respect to that contract.