Back pain

I'm having some pretty bad back pain and the past few days I've woken up and barely want to get out of bed because my sternum hurts and it wraps around to my back. Should I be concerned or is it most likely baby moving more into my ribs?

I also have a previous injuring to my lower back and hips before pregnancy, but it mostly effects my lower back. This is more in mid back area