The provisions for the installation of fishways over or around dams and for the protection and preservation of fish in streams obstructed by dams are contained in Chapter 3 (commencing with Section 5900), Part 1, Division 6 of the Fish and Game Code.