Positive reinforcement is good for stopping licking. Reward your dog when they do things other than lick. This shows licking isn't needed to get attention.