; (2) location, entry, and patent under the mining laws; and (3) disposition under all laws pertaining to mineral and geothermal leasing or mineral materials. (d) Additional protections for rogue river tributaries (1) Licensing by commission The Commission shall not license the construction of any dam, water conduit, reservoir, powerhouse, transmission line, or other project works on or directly affecting any stream described in paragraph (4). (2) Other agencies (A) In general No department or agency of the United States shall assist by loan, grant, license, or otherwise in the construction of any water resources project on or directly affecting any stream segment that is described in paragraph (4), except to maintain or repair water resources projects in existence on the date of enactment of this Act. (B) Effect Nothing in this paragraph prohibits any department or agency of the United States in assisting by loan, grant, license, or otherwise, a water resources project— (i) the primary purpose of which is ecological or aquatic restoration; and (ii) that provides a net benefit to water quality and aquatic resources. (3) Withdrawal Subject to valid existing rights, the Federal land located within 1/4 mile on either side of the stream segments described in paragraph (4), is withdrawn from all forms of— (A) entry, appropriation, or disposal under the public land laws; (B) location, entry, and patent under the mining laws