Hello My Dear Friend,
My rescued beaglette does the same. She also has the same back story and yucky penchant for poop. Here’s what I do.. clean up waste asap (yes, honestly I am not the best at this as I recommend others to be). I also use a clicker or beeper to break her of it while she is doing it. Some non-vocal (she doesnt really want to listen to me anyway in the fever of the fervor to eat anything) cue to say “HEY! YES! I mean you need to stop that!” It takes a while but all of my other dogs have grown out of it.. It takes time and patience like everything else in life. Be with her at all times outside. Use a leash if you can to correct her at exactly the moment she goes for it, or use a whistle to get her attention,,, try to only use it for the absolute dire corrections so it doesnt get as monotonous as our voices have.
Let me know what works for you guys.
I cured a large hematoma on my cats ear with the homeopathic remedy Arnica mont 30. I believe I just gave it once a day, maybe twice. It took about a week to ten days to completely resolved but there was improvement right away which was steady until it resolved. The ear flap returned to normal. In this podcast homeopath Joette Calabrese mentions that in classical homeopathy, Arnica Montana is always used for hematomas. Cost $8.00.
https://joettecalabrese.com/podcast1/podcast-73-my-time-with-the-banerjis/