The Bible does not say to divorce your second wife and go back to the first, so no, you are not in adultery and yes you are saved. ( probably)
You cannot go back and fix everything, neither do you need to. Love your second wife. Your first marriage and divorce are covered, imo