A growing body of research suggests that preventing the viral infection can help stave off cognitive decline.