I was asked by a doctor if I would allow photographs to be taken of me and my medical information shared in textbooks. I consented. This documentation would end up as publicly available so I had no issues with it.
If a company were to slurp up my information and sell it without approval, I doubt my response would be as generous.