Welcome to HCM,
It seems that due to cold and infection there might be swelling on vocal cords giving rise to hoarseness
Go for antibiotic and decongestant medicines after consulting your doctor.
Do warm water, listerine
Give complete rest to vocal cord.
Ok and bye.