Whenever the governing board of a school district enters into an agreement with a county or city library for school library services the district shall provide for the care and custody of and assume responsibility for the books and other property delivered to it subject to the rules and regulations of the county or city library and the terms of the agreement.