1. Short title This Act may be cited as the Homeless Veterans Prevention Act of 2017 . 2. Authorization of per diem payments for furnishing care to dependents of certain homeless veterans Subsection (a) of section 2012 of title 38, United States Code, is amended by adding at the end the following new paragraph: (4) Services for which a recipient of a grant under section 2011 of this title (or an entity described in paragraph (1)) may receive per diem payments under this subsection may include furnishing care for a dependent of a homeless veteran who is under the care of such homeless veteran while such homeless veteran receives services from the grant recipient (or entity). . 3. Partnerships with public and private entities to provide legal services to homeless veterans and veterans at risk of homelessness (a) In general Chapter 20 of title 38, United States Code, is amended by inserting after section 2022 the following new section: 2022A. Partnerships with public and private entities to provide legal services to homeless veterans and veterans at risk of homelessness (a) Partnerships authorized Subject to the availability of funds for that purpose, the Secretary shall enter into partnerships with public or private entities to fund a portion of the general legal services specified in subsection (c) that are provided by such entities to homeless veterans and veterans at risk of homelessness. (b) Locations (1) The Secretary shall ensure that, to the extent practicable, partnerships under this section are made with entities equitably distributed across the geographic regions of the United States, including rural communities, tribal lands of the United States, Native Americans, and tribal organizations. (2) In this subsection, the terms Native American and tribal organization have the meanings given such terms in section 3765 of this title. (c) Legal services Legal services specified in this subsection include legal services provided by public or private entities that address the needs of homeless veterans and