Lawmakers in the House of Representatives have passed a bill that would approve a study of the use of cryptocurrencies in the sex and drug trades.