Am I considered a close contact if I was wearing a mask?
Yes, you are still considered a close contact even if you were wearing a mask while you were around someone with COVID-19. Masks are meant to protect other people in case you are infected, and not to protect you from becoming infected.
See also: Spread and transmission