It got totaled by insurance because of a dent/scratch on the frame, right? You could take it to a shop to get the frame inspected, or better yet have the seller do it. Either way you could get a receipt that says frame inspection 'Pass.' That would help get it plated. If the frame has any serious structural damage, you probably don't want it anyway.