Under any law heretofore or hereafter enacted by any State, providing for the reclamation of arid lands, in pursuance and acceptance of the terms of the grant made in section
641 of this title, a lien or liens is authorized to be created by the State to which such lands are granted and by no other authority whatever, and when created shall be valid on and against the separate legal subdivisions of land reclaimed, for the actual cost and necessary expenses of reclamation and reasonable interest thereon from the date of reclamation until disposed of to actual settlers; and when an ample supply of water is actually furnished in a substantial ditch or canal, or by artesian wells or reservoirs, to reclaim a particular tract or tracts of such lands, then patents shall issue for the same to such State without regard to settlement or cultivation: Provided, That in no event, in no contingency, and under no circumstances shall the United States be in any manner directly or indirectly liable for any amount of any such lien or liability, in whole or in part.