Might also second the recommendation as
ktandon123 said, an alternative, if you have that much time of leaving the airport and getting down to San Mateo, Burlingame, or even SF proper for dinner that is likely going to be better than what's available at the lounge. (such as a little warm up to Japan
https://goo.gl/maps/JyNnqtoTUS1qpiqq5).
Recent reports seem to indicate that the SFO Polaris lounge is rather lacking and probably not worth you trying to go out of your way to fit into your plans. It will especially pale in comparison to the NH F level of service.