Quick search by citation:

16 U.S. Code § 192c - Vested rights

Nothing contained in this section and section 192b of this title shall affect any vested and accrued rights of ownership of lands or any valid existing claim, location, or entry existing under the land laws of the United States on June 21, 1930, whether for homestead, mineral, rights-of-way, or any other purposes whatsoever, or any water rights and/or rights-of-way connected therewith, including reservoirs, conduits, and ditches, as may be recognized by local customs, laws, and decisions of courts, or shall affect the right of any such owner, claimant, locator, or entryman to the full use and enjoyment of his land.

(June 21, 1930, ch. 561, § 2, 46 Stat. 792.)