; (B) section 139 of title 23, United States Code; or (C) section 2045 of the Water Resources Development Act of 2007. (c) Notwithstanding any other provision of law, judicial review of any permitting determination for a permit described in subsection (b) shall be barred unless the action is filed not later than 180 days after the date of the final record of decision or approval or denial of the permit, unless a different time is otherwise specified in law. In any action seeking judicial review of such a determination, such review shall be limited only to matters that were included in any record of the proceeding of the agency that pertain to the issuance of the permit, including the final determination of the scope of any environmental review. . 3. Issuance of restraining orders and injunctions (a) Preliminary injunctions or temporary restraining orders Section 705 of title 5, United States Code, is amended— (1) by striking When an agency and inserting (a) When an agency ; and (2) by adding at the end the following: (b) In any action seeking review of a determination to issue a permit, if a party moves for a temporary restraining order or preliminary injunction pertaining to the permit or the permitted activity, the court, in addition to any other applicable equitable considerations— (1) shall consider, in assessing the balance of the equities and the public interest, the potential beneficial and harmful effects resulting from such an order or injunction on public health, safety, the environment, and economic interests, including in areas that will be affected by the permitted activity and on the employment of United States workers; (2) may not presume that any harms identified pursuant to paragraph (1) are reparable