A lawsuit claiming that Facebook’s parent company allegedly violated federal housing law appears to be nearing its close as the tech giant has agreed to change its advertising system per a proposed settlement with the U.S. Department of Justice (DOJ).