If friend #1 lies to friend #2. Do I tell friend #2 about it?
Answer:
In principle no, because this will be considered lashon hara.
However, if the lie is liable to cause fried #2 damage, and there is no other means of averting it, it will be permitted (and correct) to inform friend #2.
Best wishes.