All public lands which constitute the bed or bank, or are within one-quarter mile of the bank, of any river which is listed in section
1276
(a) of this title are hereby withdrawn from entry, sale, or other disposition under the public land laws of the United States for the periods specified in section
1278
(b) of this title. Notwithstanding the foregoing provisions of this subsection or any other provision of this chapter, subject only to valid existing rights, including valid Native selection rights under the Alaska Native Claims Settlement Act [
43 U.S.C.
1601 et seq.], all public lands which constitute the bed or bank, or are within an area extending two miles from the bank of the river channel on both sides of the river segments referred to in paragraphs (77) through (88) of section
1276
(a) of this title are hereby withdrawn from entry, sale, State selection or other disposition under the public land laws of the United States for the periods specified in section
1278
(b) of this title.