🛑How do I stop her?!?🛑

My Vets office is currently closed. I have noticed my dog has started to lick the under part of her back legs. I work and so does my husband so we aren’t here all the time to watch her to stop her. She does go in a big kennel when we are gone. I go to work at 1 and my husband is home at 3 so she is only in there 2 hours. She licks when we are home too though. So idk if it’s separation anxiety because she does it when we are home and she is not inside of the kennel. She is creating sores on herself though. Idk how to stop her! Please help me to help my baby! My husband won’t let me get another dog to be her companion so she isn’t an only dog. So idk what to do for her.