This is hypothetical - the glasses don't fact-check what people say, they somehow detect willful deception, like people expect polygraphs to do, but with high accuracy. Would people welcome these, fear them, object on privacy grounds? I think it would be very contentious. Would people feel different if they only fed the information to the wearer but didn't record or send it anywhere? What exactly would the issues be?
Even then lying is usually unecessary. Refusing to give out information isn't lying. The only situation in which I could make the case for lying is if refusing to answer reveals the truth.