You can loop through all files with a for loop, then remove the suffix using ${variable%suffix} syntax and finally replace that middle part with the ${variable/search/replace} syntax:
for file in /opt/data/*/*; do
file="${file%xy}"
mv "$file""$file"xy "${file/dig/cur}mp3"
done