217.184 of title 50, Code of Federal Regulations (as in effect on January 1, 2022), and section 217.185 of title 50, Code of Federal Regulations (as in effect on January 1, 2022). Geological and geophysical surveys authorized pursuant to this section are deemed to be in full compliance with the Marine Mammal Protection Act of 1972 ( 16 U.S.C. 1361 et seq. ) and the Endangered Species Act of 1973 ( 16 U.S.C. 1531 et seq. ), and their implementing regulations. 211. Deferral of applications for permits to drill Section 17(p)(3) of the Mineral Leasing Act ( 30 U.S.C. 226(p)(3) ) is amended by adding at the end the following: (D) Deferral based on formatting issues A decision on an application for a permit to drill may not be deferred under paragraph (2)(B) as a result of a formatting issue with the permit, unless such formatting issue results in missing information. . 212. Processing and terms of applications for permits to drill (a) Effect of pending civil actions Section 17(p) of the Mineral Leasing Act ( 30 U.S.C. 226(p) ) is amended by adding at the end the following: (4) Effect of pending civil action on processing applications for permits to drill Pursuant to the requirements of paragraph (2), notwithstanding the existence of any pending civil actions affecting the application or related lease, the Secretary shall process an application for a permit to drill or other authorizations or approvals under a valid existing lease, unless a United States Federal court vacated such lease. Nothing in this paragraph shall be construed as providing authority to a Federal court to vacate a lease. . (b) Term of permit to drill Section 17 of the Mineral Leasing Act ( 30 U.S.C. 226 ) is further amended by adding at the end the following: (u) Term of permit to drill A permit to drill issued under this section after the date of the enactment of this subsection shall be valid for one four-year term from the date that the permit is approved, or until the lease regarding which the permit is issued expires, whichever occurs first.