FFMpeg: "Invalid audio stream. Exactly one MP3 audio stream is required"
You're trying to store an AAC stream in a MP3 container, would be my guess.

Either store the result as "${i%.mp3}-ENCODED.aac" or switch -c:a aac to -c:a libmp3lame