Assuming that you’re just transferring the backed up data back to the same exact 3DS unit, and no system reset/transfer has been done to it: you could try to delete secure value after you’ve placed the contents back into the main SD card. Do not boot the games before deleting the secure value.
In the future, use a save manager (like Checkpoint or JKSM) to create save backups.