My take on this is that the mask will not prevent you from getting it but it will prevent you or whoever wearing the mask transmit the virus.
When someone with the virus speaks, sneeze or cough, they spray the virus contained droplets through the air. If that virus contained droplets landed on...