Any dog entering any enclosed or unenclosed property upon which livestock or poultry are confined may be seized by the owner or tenant of the property or any employee of the owner or tenant. No action, civil or criminal, shall be maintained against the owner, tenant, or employee for the seizure of any such dog.