No action or any other type of court proceeding shall be brought to enforce a private restriction recorded in the land records of the municipality in which the property is located or a notation on a filed map pertaining to the use of privately owned land, the type of structures that may be erected thereon or the location of same unless such action or proceeding shall be commenced within three years of the time that the person seeking to enforce such restriction had actual or constructive knowledge of such violation. This section shall be deemed not to apply to any private restriction or notation pertaining to (a) any public utility easement; (b) any right-of-way; (c) any park or open space land; (d) any private driveway, roadway or street, or (e) any sewer line or water line.