No action shall lie in any court of law or equity against an owner or lessee of real property whose use of real property satisfies the conditions established in §66-9-401 and in which it is alleged that the owner or lessee of the real property has violated restrictive covenants as to the use of property.