Unfortunately, the automatic deletion feature in iOS 17 is designed to delete all verification codes received through SMS or iMessage automatically. It does not allow for the selective deletion of verification codes.