12 U.S. Code § 5229 - Judicial review and related matters
Actions by the Secretary pursuant to the authority of this chapter shall be subject to chapter 7 of title 5, including that such final actions shall be held unlawful and set aside if found to be arbitrary, capricious, an abuse of discretion, or not in accordance with law.
No injunction or other form of equitable relief shall be issued against the Secretary for actions pursuant to section  5211, 5212, 5216, and 5219 of this title, other than to remedy a violation of the Constitution.
Any request for a temporary restraining order against the Secretary for actions pursuant to this chapter shall be considered and granted or denied by the court within 3 days of the date of the request.
Any request for a preliminary injunction against the Secretary for actions pursuant to this chapter shall be considered and granted or denied by the court on an expedited basis consistent with the provisions of rule 65(b)(3) of the Federal Rules of Civil Procedure, or any successor thereto.
Any request for a permanent injunction against the Secretary for actions pursuant to this chapter shall be considered and granted or denied by the court on an expedited basis. Whenever possible, the court shall consolidate trial on the merits with any hearing on a request for a preliminary injunction, consistent with the provisions of rule 65(a)(2) of the Federal Rules of Civil Procedure, or any successor thereto.
No action or claims may be brought against the Secretary by any person that divests its assets with respect to its participation in a program under this chapter, except as provided in paragraph (1), other than as expressly provided in a written contract with the Secretary.
Any injunction or other form of equitable relief issued against the Secretary for actions pursuant to section 1 5211, 5212, 5216, and 5219 of this title, shall be automatically stayed. The stay shall be lifted unless the Secretary seeks a stay from a higher court within 3 calendar days after the date on which the relief is issued.
The terms of any residential mortgage loan that is part of any purchase by the Secretary under this chapter shall remain subject to all claims and defenses that would otherwise apply, notwithstanding the exercise of authority by the Secretary under this chapter.
Any exercise of the authority of the Secretary pursuant to this chapter shall not impair the claims or defenses that would otherwise apply with respect to persons other than the Secretary. Except as established in any contract, a servicer of pooled residential mortgages owes any  duty to determine whether the net present value of the payments on the loan, as modified, is likely to be greater than the anticipated net recovery that would result from foreclosure to all investors and holders of beneficial interests in such investment, but not to any individual or groups of investors or beneficial interest holders, and shall be deemed to act in the best interests of all such investors or holders of beneficial interests if the servicer agrees to or implements a modification or workout plan when the servicer takes reasonable loss mitigation actions, including partial payments.
 So in original. Probably should be “sections”.
 So in original. Probably should be “a”.
This chapter, referred to in text, was in the original “this Act” and was translated as reading “this division”, meaning div. A of Pub. L. 110–343, Oct. 3, 2008, 122 Stat. 3765, known as the Emergency Economic Stabilization Act of 2008, to reflect the probable intent of Congress. For complete classification of division A to the Code, see Short Title note set out under section 5201 of this title and Tables.
The Federal Rules of Civil Procedure, referred to in subsec. (a)(2)(C), (D), are set out in the Appendix to Title 28, Judiciary and Judicial Procedure.
LII has no control over and does not endorse any external Internet site that contains links to or references LII.