588.25 Application; limitation.—The provisions of ss. 588.12-588.25 shall not apply to counties having special laws or general laws of local application requiring the confinement and restraint of livestock; provided, however, where the provisions of such special laws or general laws of local application do not prohibit livestock from running upon or straying upon the public highways, or the provisions of such special laws or general laws of local application do not provide for liability of owners of livestock for damages and injuries caused by such livestock, or provide less severe penalties than imposed by s. 588.24, the provisions of this act shall apply in each such case as if the provisions hereof were inserted in full in any such special law or general law of local application. Provided, further, that if any such special law or general law of local application is found unconstitutional or in any way inoperative, then this act shall be in full force and effect in the county, or counties, affected.