FYI, the information in the linked article will only work on some SATA based Apple SSDs from 2015 and earlier. Most Apple SSDs after 2015 do not support the built-in hardware secure erase since they are NVMe based SSDs which require using a different method assuming the SSD supports a hardware secure erase. Most of the Apple NVMe SSDs do not seem to support the hardware secure erase feature (unless somehow our organization's MDM is somehow blocking this feature). Unless you are having a problem with the Apple SSD the built-in hardware secure erase feature is not really needed on a Mac.
When you use Disk Utility to erase an Apple SSD all of the SSD's NAND memory cells are instantly zeroed due to TRIM being enabled. I'm not sure if the same holds true for a non-Apple SSD even with TRIM enabled. Even if TRIM is not enabled sooner or later those unused blocks will be zeroed out since that is a requirement before a block can be written to. It just may take the SSD's garbage management maintenance routines a bit of time to process those unused blocks.