Ummm... the dangers of lead paint would be noticed by consumers who would demand an alternative and corporations would provide it.
If you look at a lot of the health concerns in our society, that's how it works. Often companies change what they are offering long before the gov't passes any laws forcing them to.