HIPAA applies to healthcare professionals and providers, not ad tech companies. And race and citizenship are not personal health-related data.
Also, I believe (but am not certain) that if there was any criminal case, it would be leadership (C*O) not individual software engineers who would be charged. This is speculation on my part, if anybody has clear facts I'm happy to hear them.