Any enforcement officer or any person authorized by the town to enforce the sections here within shall be immune from prosecution, civil or criminal, for reasonable, good faith entry upon real property while in the discharge of duties imposed by this article.