WASHINGTON — The Texas Legislature has passed a bill that would force divestiture of all state investments in music companies.The bill had been defeated in the Texas House, but it was successfully attached to a separate piece of legislation and is now on its way to Gov. George W. Bush’s desk. The Recording Industry Assn. of America already has asked Bush to veto the bill, citing its harm to the First Amendment rights of artists who are paid by those companies. The music company divestiture was backed by forces that believe the record companies are contaminating the hearts and minds of the country’s youth with obscene, violent and misogynist lyrics.