We must assume the validity of the first marriage, unless there is sufficient evidence to the contrary. That’s what a Tribunal is for: to evaluate evidence. The default position is always to uphold the bond.
That is the law. but many things have been canon law. It changes slowly, but it changes.