The UK government has passed a bill that could see it adopt blockchain technology as a solution to store documents.