Please don't take this the wrong way,...but please be careful with your bird and dog..here is what my Ruby macaw looked like when she got near my favorite, trained, most trusted dog in the world, sometimes things happen in the blink of an eye.
Luckily the only blood was the bloodseen in this pic. but both sides were punctured through. I could see daylight through her beak. She was on antibiotics and I have to clean it out several times a day. She is now almost totally healed. The holes are growing out, and they are closed up now, you can just see dents.
right side:

left side:
