Using w25q128fwsig chip to replace mx25u12873f bios chip

Good day I have a MSI B350 PC Mate motherboard with a corrupt bios. I took the original bios chip out and reprogram it but I broke one of the leg when trying to resolder it back on. I brought want to buy a new chip but I can’t find the original MX chip. I found a similar chip the winbond w25q128fwsig chip which are the same. Would it work on my motherboard ?