A second time? The dog should have been put down after the first time. There really is no reason to have an animal with the potential for destruction that a pit bull has when there are dozens of breeds of dogs that can provide the same level of companionship without the ability to rip off the face of someone if they have a bad day.
After just one attack I would have had that dog down. I’d never trust it again.