Mostly so google can answer whether these fit - yes they do. Sadly Sony makes no headphones with apt-X anymore so when you want lagless sound from a computer ... well ... these are likely your best choice.
I ordered a 10€ replacement in EU https://www.ebay.de/itm/820326977653?var=627123733385
The solder is non-lead so you need 380°C to remove the old connection, im sure it's possible to use the cables but i just soldered it on with fresh tin.
The original solder area was a bit oxydized but no issues so far
The housing will fit the larger (2mm more thickness) easily, you can strip down the pressurepad on the other side.
I'm now convinced even thicker ones (602050) would fit, original is a 602020 though so 2mm thick.
BUT i read these will expand with time so leave some room.
The new battery is heavier ofc but its not noticeable when wearing these.
The new battery is tested with apt-X from desktop at 80% to 100% volume 15:46 to 23:28, 06:54 to 13:53
16h 41m
Standard is Music playback time (SBC/AAC): Max. 13 hours (NC ON)/Max. 19 hours (NC OFF)
https://www.manualslib.com/manual/2998654/Sony-Mdr-Zx770bn.html?page=11#manual
Remove outer shell and ring as shown in the manual, 1 screw to remove
Remove the earpad, then there are dono 5.
NOW BE CAREFUL not to rip the speaker cables off and unwind them from the grey ring
MAKE SURE TO NEVER SHORT THE OLD OR NEW BATTERY
I decided to remove the white connector then clipped the metal caps. This allows you to solder them in a way they will not wriggle and maybe short.
BUT AGAIN NEVER CLIP BOTH AT THE SAME TIME!!! YOU WILL SHORT THE BATTERY AND BAD THINGS WILL HAPPEN.
The battery fits either way, i chose to do it like this and leave a little space for the connection to the other side but its also possible to rotate it 180°
You'll manage, its a 30 minutes job. Don't worry much about putting so high temps on the PCB it's fine.

Im not sure if thats the way but i taped the old battery discharged so it wont short and got rid of it at these supermarket battery recycling boxes