The Right to Farm Act shall not invalidate any contracts made prior to the enactment of that act but shall be applicable only to contracts and agreements after the effective date of that act. This section shall not be construed to invalidate or supercede land uses and related powers of counties and municipalities.
NMS § 47-9-4