That should get rid of most of the ants. Both remotes have failed, and it looks like a scantool is required to program replacements. But even GM technicians with the GM scantool have trouble programming GM remotes with new batteries.
IF THE IMAGE IS TOO SMALL, click it.
cheap remote pair $13
https://www.ebay.com/itm/115013376041