Welcome to HealthcareMagic.From what you have mentioned, losing voice can be due to the chemical, which was like an irritant. Some of these might have chlorine , which is known to have such effects. But you also mentioned about having palpable lymph
nodes, which is suggestive of infection. Even viral infection could lead to that.So if you are already feeling better, little to worry. Else, get yourself shown to a primary physician or a ENT doc.Get well soon.