Notwithstanding any provision of this chapter to the contrary, the legislative body may accept contributions or loans from the United States, or a federal department, instrumentality, or agency for financing or aiding in financing the cost of preliminary investigations and studies, surveys, plans and specifications, procedures and other action preliminary to construction, and the construction, maintenance, and operation of an enterprise.