How old is she? Is she desexed? Girl dogs like to "rub" their butt/lady part on the floor when they are on heat. (To spread the scent!). It would also explain the licking. Otherwise I'd second the anal gland. Maybe get it checked out at the vets.