Section 3. The prohibition of the two preceding sections shall continue notwithstanding the dissolution, by death or divorce, of the marriage by which the affinity was created, unless the divorce was granted because such marriage was originally unlawful or void.