We shouldn't be doing either of these things. It wasn't a serious problem 20 years ago when kids would bring whatever allergens to lunch. Throwing away peanut foods is an absurd overreaction and misdirection of food-safety resources.
[1] https://abcnews.go.com/Health/AllergiesNews/story?id=4659705...
I'm sure you can find an article about peanut allergies at any point in recorded history where they had peanuts.
This sounds completely absurd and hyperbolic, but let's say I took it at face value - why is this an issue now and not an issue when I was in school?