It seems that due to having long time mirana device, there might have changed position of device or took place some infection in your uterine cavity
leading to white thick discharge.
Now as device is removed, it will be gradually alright after infection cured.
Consult Gynaec and get examined.
One course of antibiotic after advice of Gynaec will give you relief.
Ok and take care.