Lithium-ion batteries are all battery+protection board. 3 wires will only appear on the protection board, the battery will always have only 2 wires.
Lithium-ion battery has 2 kinds, obviously 3.7V is non-ferrous aluminum phosphate, you can directly change.
Replacement is very simple (pay attention to the positive and negative poles):
1: remove the packaging of the original battery, and then the soldering iron to separate the protective plate and battery.
2: Similarly then remove the protective plate of your new battery and connect the battery to the old protective plate.