I personally got CCDD at AS and retook. Second time round, I got AABB.
It may not be the advice you want to hear, but I would suggest to retake the year.
Retaking AS modules whilst doing A2 is VERY difficult. Don't take offense but if you got CCD in AS, those grades will most likely drop when you do A2, which is much more harder.
Re-do AS, if you're allowed to do the same subjects then that's amazing. You know the content and you'll end up with better AS grades, which will lead you to brighter options in terms of applying to unis etc.
Hope I helped, sorry for giving you the bitter truth.