; and (2) ensure a permanent end to livestock grazing on the grazing allotment covered by the grazing permit or lease. 5. Effect of waiver of grazing permit (a) Effect on range developments A permittee or lessee who waives a grazing permit or lease to the Secretary under section 4 shall be deemed to have waived any claim to all range developments on land covered by the grazing permit or lease waived, notwithstanding any other provision of law. (b) Securing retired allotments against unauthorized use The Secretary shall ensure that grazing allotments retired from grazing under this Act are rendered reasonably secure from trespass grazing by domestic livestock. (c) Relation to other authority Nothing in this Act shall be construed to affect the authority of the Secretary to modify or terminate any grazing permit or lease in accordance with other law. (d) Relation to valid existing rights Nothing in this Act affects the allocation, ownership, interest, or control, in existence on the date of the enactment of this Act, of any water, water right, or any other valid existing right held by the United States, an Indian Tribe, or a State, county, or municipality, or a private individual, partnership, or corporation.