The safe third country law predates the bulk of the current insanity, and Canada wants to maintain decorum with Trump due to ongoing tariff and sovereignty threats. Dropping out of that agreement shouldn't be required to accept someone's refugee claim and requires less political capital.
They are using the CBP database according to that article.. who knows what version two will have though
They have the passport photos already regardless... So don't travel to the USA...