It doesn't protect anyone. The test only indicates if you have had it. It does not mean you are a carrier or contagious.  At this point almost the entire population will test positive. Why? Because they are now immune.