This is a weird take, but as a junior developer, I find I'm more productive on the days with meetings because I'm 'forced' to squeeze in the 'real work' rather than just being scared.
It might help if you introduce more things to focus in and out on. I find that when I'm playing a game I'm not as interested in/has down time, by having something like music playing softly in the background, I'm able to focus in better during slow periods.
Some amount of LoFi beats, classical, or music in another language might help a bit even if you feel you need to 'focus in' by just providing a bit more stimulation? I find that without music it's much harder for me to enter my flow state when programming even if I 'stop hearing' the music once I get into what I'm working on.
But everyone's different, that's just something that works for me, but I hope that you keep up the hard work. Focus is hard, and you're taking some important steps to try and restore yours.