Not affiliated with the government
Based on your statement, I don't see a problem with you receiving survivor benefits providing your husband worked long enough under Social Security. You can receive full benefits at full retirement age for survivors or reduced benefits as early as age 60. You can begin receiving benefits as early as age 50 if you are disabled.
The first wife likely will not qualify for survivor benefits from the first marriage. The first marriage would needed to have lasted at least 10 years for her to qualify.