County, humane society make a deal