This bill amends the Infrastructure Investment and Jobs Act to expand which dam projects can receive federal funding for rehabilitation, reconstruction, or replacement. Specifically, it allows the Secretary of the Interior to direct funding toward dams originally built under the Carey Act of 1894, a historic law that helped states develop irrigation projects on arid public lands in the western United States. This funding can only be used for these additional dams after the Secretary confirms that higher-priority dam projects already covered under existing law have received the money they need, and that funds remain available. The change primarily benefits western states and communities that rely on aging Carey Act-era dams for irrigation and water management, ensuring these older structures remain eligible for federal infrastructure dollars. The bill does not create new funding but instead broadens how existing infrastructure law money can be allocated once current priorities are met.