Cervical mucus and the pill!!! Reassurance needed x

My period is in 17 days and I am on the pill and I was just wondering why I'm getting quite heavy creamy cm and I dunno why? Is it because when I'm on the pill more of this is produced stop pregnancy? Just need a lil reassurance x