
So sorry your bitch had such problems so early on, mastitis doesn't normally appear so soon after whelping, she may have been brewing something before hand.
If it was me I would be hand rearing the pups and letting Mum do the toileting etc., by putting a babygro on or bandaging the affected teats the pups could still spend time with her and be taught manners and doggie etiquette.
At 12 days old weaning can easily be started so they are less dependant on just milk and progress normally from there.
What would worry me is the bitch accepting the pups back with all the strange smells and having missed out on a large chunk of their early days.
I hope all goes well for them all.