You could be suffering from mastitis, which is a blocked milk duct. Try gently massaging the area where it is sore. Of course you're doing the right thing by having a mammogram, just be warned though that they can be very painful as your entire breast is squeezed between two plates. Best of luck to you
It could be a minor infection in your milk duct. I wouldn't worry but do talk to your doctor.