Any county, city, state agency or public district is authorized to make agreements with the United States or any of its departments or agencies obligating them to do or perform those things which are required of them by Chapters 1 and 2 of this part and by the act of Congress approved December 22, 1944 (Public, Numbered 534, Seventy-eighth Congress, Second Session), and the act of Congress approved August 18, 1941 (Public, Numbered 228, Seventy-eighth Congress, First Session).