As a Woodrurner and a nurse I can assure you that the mask, mouldy or not, could not have caused any sort of infection in such a short space of time.
It'll have been working away on you for days before you noticed any symptoms.
All the same, if this encourages folk to give their masks a wash...