You should have done this, you should have applied first with a maiden name showing the SSA a valid passport with attached I-94 with 14days allowance before expiring then after the wedding you went back again to SSA and apply for a name change showing them the marriage certificate. Thats what I did. No problem with my application for SS#.
Simple, no hassle.