Does taking Valtrex or similar anti-viral medication reduce the risk of being infected with HSV1 or 2?

Meaning can someone who has tested negative for HSV 1 and 2 take medication to reduce his chances of catching Herpes?

This medical article seems to say PreP for HIV provides a degree of protection for HSV2 as well.

https://www.jwatch.org/fw109009/2014...-2-acquisition

Granted that there is no complete protection against HSV, but it seems the risk of catching HSV can be lowered?