But Prince appears to have shielded from even some of his closest friends that he had a problem with pain pills, one that grew so acute that his friends sought urgent medical help last month from Dr. Howard Kornfeld of California, who specializes in treating people addicted to pain medication.