No lands owned by the United States of America or the state of New Mexico or lying within the corporate limits of an incorporated village, city or town or held under patented or unpatented mining claim, and no allotted or tribal Indian lands shall be subject to the provisions of this act N.M. Stat. Ann. § 69-9-1 to 69-9-10. Neither shall this act be applicable to or affect rights to produce, mine or remove from the land oil, gas, coal or other hydrocarbons, or other materials mined primarily for their nonmetallic constituents such as potassium, phosphate, sodium or salt.