In the case of a railroad in process of construction or a proposed railroad which passes through enclosed land, the company or person having control of the railroad during its construction shall provide suitable crossings for the owner or occupant of each farm, make and keep in repair fences along the line of the railroad through the enclosed fields, and protect crops growing thereon. When the company or person agrees with the owner of the lands through which a railroad passes that the owner is to build and keep in repair any portion of the fencing, and if such fencing is destroyed or damaged by fire from passing trains or by the elements, the company or person owning or operating the railroad shall rebuild or repair such fence if the property holder demands it. If the company fails to construct a fence after having received written notice to do so from the owner or occupant of lands through which the railroad passes, after thirty days from the time of serving the notice upon the agent of such company nearest such lands, the owner or occupant may proceed to construct it, and the company shall be liable to the person for the cost thereof.
R.C. § 4959.04