Muslim lawyer doing work for a gay or lesbian

Q: 

1. A lesbian woman approaches a Muslim notary to draw up an Antenuptial contract for a civil union with another woman. 

2. A person who is openly gay/lesbian approaches a Muslim lawyer to do work for them. The work doesn't have to do with the client being gay/lesbian. It is normal legal work. 

In either of these scenarios, is it permissible for the notary/lawyer to do the work?