22weeks/mucus plug pieces?

For a while now I’ve had the yellow mucus plus looking like things on my underwear. This is my second pregnancy and this never happened with my first. I’ve never had this happen so can someone explain to me what this means?