The recent enactment of a contentious bill in Ghana's parliament has sparked global debate and criticism.