All divisions of fences which are made by fence viewers under this chapter, or which are made by owners of adjoining lands, in writing, witnessed by two witnesses, signed and acknowledged by the parties, and recorded with the county recorder, are valid against the parties to the divisions and their heirs and assigns.