; (2) location, entry, and patent under the mining laws; and (3) disposition under all laws pertaining to mineral and geothermal leasing or mineral materials. (f) Cooperative agreements In carrying out this section, the Secretary may enter into cooperative agreements with State, Tribal, and local governmental entities and private entities to complete the trail reconstruction, realignment, or rerouting authorized by subsection (d). (g) Boundaries The Secretary shall modify the boundary of the potential wilderness area to exclude any area within 150 feet of the centerline of the new location of any trail that has been reconstructed, realigned, or rerouted under subsection (d). (h) Wilderness designation (1) In general The potential wilderness area, as modified under subsection (g), shall be designated as wilderness and as a component of the National Wilderness Preservation System on the earlier of— (A) the date on which the Secretary publishes in the Federal Register notice that the trail reconstruction, realignment, or rerouting authorized by subsection (d) has been completed; and (B) the date that is 20 years after the date of enactment of this Act. (2) Administration of wilderness On designation as wilderness under this section, the potential wilderness area shall be— (A) incorporated into the Machesna Mountain Wilderness Area, as designated by the California Wilderness Act of 1984 ( Public Law 98–425 ; 16 U.S.C. 1132 note) and expanded by section 3; and (B) administered in accordance with section 5 and the Wilderness Act ( 16 U.S.C. 1131 et seq.). 5. Administration of wilderness (a) In general Subject to valid existing rights, the wilderness areas shall be administered by the Secretary in accordance with this Act and the Wilderness Act ( 16 U.S.C. 1131 et seq.), except that— (1) any reference in the Wilderness Act ( 16 U.S.C. 1131 et seq.) to the effective date of that Act shall be considered to be a reference to the date of enactment of this Act