fortunately, only state law and the constitution will apply. here's a couple of good articles everyone should be familiar with:
Use these resources to learn more facts about crime and the criminal justice system, from arrest and arraignment to plea, court trial, and the appeals process.
www.thoughtco.com
en.wikipedia.org
if asked, you should say "no thank you."
if demanded, you should comply with your state law.
learn the difference. when you are asked, that means no reasonable suspicion exists and the police is seeking your consent. if you consent, you have no rights from that point forward. no rights to privacy, none. there is no law against police giving your information to anybody who asks for it. maybe they should but no law against it that i am aware of. you can always sue if you were damaged by them providing your information. but the information that you voluntarily provide to police, it's like sharing it with the entire world. you take your chances out there, either way just remember these: