Does word "dissent" have the same meaning in the following two sentences?

Dissent to the laws of the country.

Several Republicans dissented.
different meanings