AP Registration Card

I lost the AP “card” that you get at AP registration (the card with the barcode, your name and AP number).

What is the purpose of this card?

Does it matter if I lost it for the day of the AP Exam? Or do I only need that card to get my scores in July? What should I do, go to my counselor or not worry over it?