I don't think there's a huge amount you can do about this. Peanuts are on your radar 24/7 because they have to be, but that's not the case for other parents.
So, the school can send out letters, and parents most likely wouldn't send packets of nuts in with their children - but that doesn't mean they'll always check every single item of food, because it's not their main worry like it is yours.
Your daughter knows to stay away from this girl, and knows what to do if she has a nut.
Sadly, in later life, such as high school, college, uni, and eventually the workplace, there's just no way to police what people eat, so it is very important that she is on the ball with knowing what to do.
My brother has a life threatening allergy, and a tuck shop at a hobby we both did as children stopped buying Snickers bars - which we were so grateful for. A girl said she didn't think it was fair that she couldn't have one just because ONE person was allergic .. and that's just what people think I'm afraid. Even though there are so many other things you could have which wouldn't kill one of the children. I remember thinking at the time (and I was only young myself) that if she couldn't got for 90 minutes on a Saturday morning without a Snickers, there's something seriously wrong with her.